package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author gaopeng
 * @date 2021/10/21
 **/
@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    /**
     * 获取会员优惠券信息(openFeign 测试)
     * @return
     */
    @RequestMapping("/coupon/coupon/member/list")
    R memberCoupons();
}
